<template>
	<view class="cardContainer bg-white">
		<view class="flex align-center">
			<view class="drop" :style="{'background-color':color}"></view>
			<text>{{asname}}</text>
		</view>
		<view class="cardTime" v-for="(item,index) in asData" :key="index">
			<text>{{item}}</text>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			asData:{
				type: Array
			},
			asname:{
				type: String
			},
			color: {
				type: String
			}
		}
	}
</script>

<style>
	.cardContainer{
		margin-top: 10rpx;
		padding: 16rpx 30rpx;
	}
	.drop{
		width: 27rpx;
		height: 27rpx;
		border-radius: 50%;
		margin-right: 24rpx;
	}
	.cardTime{
		display: flex;
		flex-direction: column;
		margin-left: 51rpx;
		margin-top: 20rpx;
	}
	.cardTime text {
		margin-top: 10rpx;
		font-size: 26rpx;
		color: #6E6C6C;
	}
</style>
